import './App.scss';
import Router from './routes';
// import { useRoutes } from 'react-router-dom';
import { Suspense } from 'react';
// import { Spin } from 'antd';
import '@/styles/app-loading.css';

function App() {
  // const elements = useRoutes(routers);
  return (
    <Suspense fallback={<div id="app-loading"></div>}>
      <Router />
    </Suspense>
  );
}

export default App;
